package com.sicaolong.partterndesign._05_decorate.decorate;

import com.sicaolong.partterndesign._05_decorate.Notifier;

public abstract class AbstractNotifierDecorate implements Notifier {
    protected final Notifier notifier;

    public AbstractNotifierDecorate(Notifier notifier) {
        this.notifier = notifier;
    }

    @Override
    public void send(String message) {
        notifier.send(message);
    }
}
